﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections.Specialized;

/// <summary>
/// Summary description for EditableWidget
/// </summary>
public abstract class EditableWidget : WidgetBase
{
    /// <summary>
    /// Initializes a new instance of the <see cref="EditableWidget"/> class.
    /// </summary>
    public EditableWidget()
    {
        //this.settings = GetSettings();
    }

    /// <summary>
    /// Gets a value indicating whether this instance is editable. Always is true
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is editable; otherwise, <c>false</c>.
    /// </value>
    public override bool IsEditable
    {
        get { return true; }
    }

    /// <summary>
    /// Settings for widget in form of dictionary<setting,value>
    /// </summary>
    protected StringDictionary settings;

}
